/*
CSS for the https://nepa.navy.afpims.mil/nwtteis/ website
Updated 8/31/2026
 */

/* Overide Theme */
a {
    text-decoration: underline !important;
}

/* Override 1 linespacing */
p,li {
  line-height: 1.5;
}

/** Button on homepage **/
.nwtteis-button-box {
border: 1px solid #e0e0e0; /* A thin, light gray border */
border-radius: 15px;      /* Keeps the rounded corners */
padding: 25px;            /* Spacing inside the box */
max-width: 400px;         /* Sets a maximum width for the box */
margin: 5px auto;        /* Centers the box on the page */
text-align: center;       /* Centers all the content inside */
}

/* Optional text style if you want to add a message */
.nwtteis-button-text {
  margin-bottom: 20px;
  color: #333;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* The link that wraps the button */
.nwtteis-button-link {
  display: inline-block; /* Changed to inline-block for better centering inside the box */
  text-decoration: none;
  width: 100%;
}

/* The main button */
.nwtteis-button {
  width: 100%;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  outline: none;
  /* Softer muted green gradient background */
  background: linear-gradient(135deg, #6c8c7d 0%, #4a6a57 100%);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.nwtteis-button:hover {
  background: linear-gradient(135deg, #4a6a57 0%, #6c8c7d 100%);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.nwtteis-button:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 768px) {
  .nwtteis-button-text {
	  font-size: 1.3em;
  }
  .nwtteis-button {
	  padding: 12px 25px;
	  font-size: 1em;
  }
}

@media (max-width: 480px) {
	.nwtteis-button-box {
		padding: 20px;
	}
	.nwtteis-button-text {
		font-size: 1.1em;
	}
	.nwtteis-button {
		padding: 10px 20px;
		font-size: 0.9em;
		border-radius: 40px;
	}
}

/** Pop-up **/
/** referenced in nwtt.js **/
.nwtteis-popup {
    background-color: #F5F5F5;
    width: 450px;
    padding: 30px 40px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    border-radius: 8px;
    font-family: "Poppins",sans-serif;
    display: none;
}
.nwtteis-popup button{
    display: block;
    margin:  0 0 20px auto;
    background-color: transparent;
    font-size: 30px;
    color: #c5c5c5;
    border: none;
    outline: none;
    cursor: pointer;
}
.nwtteis-popup p{
    font-size: 14px;
    margin: 20px 0;
}

/* Sidebar Images */
.nwtteis-sidebar-image {
  display: block;
  margin: 0 auto; /* 0 for top/bottom, auto for left/right */
  max-width: 225px;
  border-style: solid;
  border-width: thin;
  border-color: gray;
}

/* Thumbnails */
.nwtteis-caption {
	color: #000000 !important; /* Replaces muted grey with dark charcoal */
}


/* Virtual Presentation */
/* General Body Styles */
/**
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}
**/

/* Main Slideshow Container */
.nwtt-virtual-presentation-slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
}

/* Side Navigation Menu */
.nwtt-virtual-presentation-side-menu {
    width: 250px;
    flex-shrink: 0;
    background-color: #f8f9fa;
    padding: 20px;
    border-right: 1px solid #ddd;
    height: 800px;
    overflow-y: auto;
}

.nwtt-virtual-presentation-side-menu h3 {
    margin-top: 0;
    color: #0056b3;
}

.nwtt-virtual-presentation-side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nwtt-virtual-presentation-side-menu li {
    padding: 12px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nwtt-virtual-presentation-side-menu li:hover {
    background-color: #e9ecef;
}

.nwtt-virtual-presentation-side-menu li.active-menu-item {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

/* Slides Wrapper and Individual Slides */
.nwtt-virtual-presentation-slides-wrapper {
    flex-grow: 1;
    position: relative;
    min-height: 600px;
}

.nwtt-virtual-presentation-slide {
    display: none;
    padding: 40px;
    animation: fadeIn 0.8s;
}

.nwtt-virtual-presentation-slide.active-slide {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slide Content Styling */
.nwtt-virtual-presentation-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* Audio Player */
audio {
    width: 100%;
    margin-top: 20px;
}

/* Button and Transcript Section */
.nwtt-virtual-presentation-button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.nwtt-virtual-presentation-transcript-toggle {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.nwtt-virtual-presentation-transcript-toggle:hover {
    background-color: #5a6268;
}

a.nwtt-virtual-presentation-submit-comment {
    color: white !important;
    text-decoration: none;
    background-color: #007bff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s;
}

a.nwtt-virtual-presentation-submit-comment:hover {
    background-color: #0056b3;
}

/* Transcript Content */
.nwtt-virtual-presentation-transcript-area {
    position: relative;
}

.nwtt-virtual-presentation-transcript {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 0 15px;
    margin-top: 10px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.nwtt-virtual-presentation-transcript.show {
    max-height: 200px;
    padding: 15px;
    overflow-y: auto; /* This creates the scrollbar for long text */
}

/* Navigation Arrows */
.nwtt-virtual-presentation-prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.4);
    user-select: none;
    transition: background-color 0.3s;
    z-index: 10;
}

.nwtt-virtual-presentation-prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.nwtt-virtual-presentation-next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.nwtt-virtual-presentation-prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}


.nwtt-virtual-presentation-slide-custom-link {
    display: block; /* Makes the link take its own line */
    text-align: center; /* Centers the link text */
    margin-top: 15px; /* Adds space above the link */
    margin-bottom: 20px; /* Adds space below the link, before the audio player */
    font-size: 1.1em; /* Makes the font slightly larger */
    font-weight: bold; /* Makes the font bold */
    color: #0056b3; /* Uses a blue color consistent with your theme */
    text-decoration: underline; /* Underlines the link as requested */
}

/* This keeps the underline when a user hovers over it */
.nwtt-virtual-presentation-slide-custom-link:hover {
    text-decoration: underline; 
}

